package com.shop.dao;

import com.shop.entity.User;
import com.shop.exception.DAOException;

public interface UserDao {

    User userRex(String name, String pwd) throws DAOException;

    int register(User user) throws DAOException;

    User selectUserByName(String u_name) throws DAOException;
}
